package com.teampl.geotrellisspringboot.config

import org.springframework.context.annotation.Configuration
import org.springframework.web.servlet.config.annotation.{CorsRegistry, ResourceHandlerRegistry, WebMvcConfigurer}

//@Configuration
class WebConfiguration extends WebMvcConfigurer{
  override def addResourceHandlers(registry: ResourceHandlerRegistry): Unit = {
    registry.addResourceHandler("/geoTrellisOut/**").addResourceLocations("file:F:/cabbageShip/项目数据/output")
  }

}
